package com.ruoyi.model.qu;

import java.io.Serializable;

/**
 * 返回数据-区平台
 */
public class QuUploadFileRes implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    /**
     * 成功
     */
    public boolean successYn() {
        return code == 200;
    }

    /**
     * 数据重复
     */
    public boolean duplicateYn() {
        return code == 707;
    }
}
